const { get, post } = require('./http')

// 获取学院列表
export const getCollegeList = (params) => { return get('/data/api.caliancematch/getclubList', params) }
// 获取校队列表
export const getTeamList = (params) => { return get('/data/api.team/getteamlist', params) }
// 获取校友列表
export const getTeamPlayers = (params) => { return get('/data/api.auth.team/myteamplayers', params) }
// 根据学院获取比赛
export const getCollegeMatch = (params) => { return post('/data/api.caliancematch/getmatch', params) }

/** 学院活动 */
// 活动列表
export const getActivities = (params) => { return post('/data/api.auth.activity/getatcall', params) }
// 活动详情
export const getActInfo = (params) => { return post('/data/api.auth.activity/actinfo', params) }
// 活动支付
export const payAct = (params) => { return post('/data/api.auth.activity/matchwxpay', params) }

// 添加积分
export const addScore = (params) => { return post('/data/api.score/addscore', params) }
// 会员积分排行榜
export const getMemberRank = (params) => { return post('/data/api.score/getmemberrank', params) }
// 学院积分排行榜
export const getClubRank = (params) => { return post('/data/api.score/getclubrank', params) }
/*** 队秘排名 ***/ 
export const getteamsercertrank = (params) => { return post('/data/api.score/getteamsercertrank', params) }